package com.aspose.cells;

class zcbr extends zcdb {
   zcbr() {
      this.d = 370;
   }

   void a(zum var1) {
      this.c = new byte[5];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.a), 0, this.c, 0, 4);
      byte var2 = a((zst)var1.b);
      this.c[4] = var2;
   }

   static byte a(zst var0) {
      switch(null.a[var0.ordinal()]) {
      case 1:
         return 0;
      case 2:
         return 7;
      case 3:
         return 15;
      case 4:
         return 23;
      case 5:
         return 29;
      case 6:
         return 36;
      case 7:
         return 42;
      default:
         return 0;
      }
   }
}
